﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="BankTable.aspx.cs" Inherits="Auditors_BankTable" %>

<%@ Register src="topnav.ascx" tagname="topnav" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <script>
        function OpenIfream(page, id, orderid, type) {
            // $("#myifream").src = page + "?CompanyID=" + id + "&orderid=" + orderid + "&type=" + type;
            // document.getElementById("iframeid").src = page + "?CompanyID=" + id + "&orderid=" + orderid + "&type=" + type;
            //$("iframe")[0].src = page + "?CompanyID=" + id + "&orderid=" + orderid + "&type=" + type;

            window.location.href = "BankTableDetail.aspx?CompanyID=" + id + "&orderid=" + orderid + "&type=" + type;
        }

        function GoTo(page, id, orderid) {
            window.location.href = page + "?CompanyID=" + id + "&orderid=" + orderid;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <uc1:topnav ID="topnav1" runat="server" />
    <h2>
        Bank
    </h2>
    <ul>
        <li>
            <input type="button" value="港币报表" onclick='OpenIfream("SelectBankSavings.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","HK");' />
        </li>
        <li>
            <input type="button" value="支票报表" onclick='OpenIfream("SelectBankCheck.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","Check");' />
        </li>
        <li>
            <input type="button" value="美金报表" onclick='OpenIfream("SelectBankUS.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","US");' />
        </li>
        <li>
            <input type="button" value="人民币报表" onclick='OpenIfream("SelectBankRMB.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","RMB");' />
        </li>
        <li>
            <input type="button" value="英镑报表" onclick='OpenIfream("SelectBankGBP.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","GBP");' />
        </li>
        <li>
            <input type="button" value="加拿大元报表" onclick='OpenIfream("SelectBankCAD.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","CAD");' />
        </li>
        <li>
            <input type="button" value="瑞士法郎报表" onclick='OpenIfream("SelectBankCHF.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","CHF");' />
        </li>
        <li>
            <input type="button" value="日元报表" onclick='OpenIfream("SelectBankJPY.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","JPY");' />
        </li>
        <li>
            <input type="button" value="澳元报表" onclick='OpenIfream("SelectBankAUD.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","AUD");' />
        </li>
        <li>
            <input type="button" value="欧罗报表" onclick='OpenIfream("SelectBankEUR.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","EUR");' />
        </li>
        <%--
                    <li>
                        <input type="button" value="其他报表" onclick='OpenIfream("SelectBankOther.aspx","<% =Request.QueryString["CompanyID"]%>","<% =Request.QueryString["orderid"]%>","other");' />
                    </li>--%>
    </ul>
</asp:Content>
